//
//  YDBaseStockHeaderView.h
//  PeiZiWangBei
//
//  Created by LK-IOS on 2018/3/14.
//  Copyright © 2018年 LK-IOS. All rights reserved.
//

#import <UIKit/UIKit.h>


@class YDBaseStockHeaderView;

@protocol SYBaseStockHeaderViewDelegate <NSObject>

@optional

/**
 点击了headerview上面的按钮
 @param headerView  headerView
 @param buttonTag 索引
 */
-(void)baseStockHeaderView:(YDBaseStockHeaderView *)headerView didClickButtonTag:(NSInteger)buttonTag;


@end

@interface YDBaseStockHeaderView : UIView


@property (nonatomic , weak)id<SYBaseStockHeaderViewDelegate>delegate;


-(void)clickButtonWithIndex:(NSInteger)index;

@end
